﻿namespace POP.Mime.Traverse
{
	// This interface describes a MessageTraverser which is able to traverse a Message hierarchy structure
	// and deliver some answer.
	public interface IAnswerMessageTraverser<TAnswer>
	{
		TAnswer VisitMessage(Message message);

		TAnswer VisitMessagePart(MessagePart messagePart);
	}
}